package com.advertisementsystem.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统监控指标表
 * </p>
 *
 * @author ccc
 * @since 2025-03-09
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_metrics")
public class SysMetrics implements Serializable {


    @TableId(type = IdType.AUTO)
    private Long id;

    private Double cpuUsage;

    private Double memoryUsage;

    private Double diskUsage;

    private Integer threadCount;
    private Double heapUsage;
    private Double nonHeapUsage;
    private LocalDateTime timestamp;

}
